﻿#region Usings

using System.Web.Mvc;
using SerafinApartment.Resources;

#endregion

namespace SerafinApartment.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewData["Message"] = Global.Welcome;

            return View();
        }

        [Authorize(Roles = "admin")]
        public ActionResult About()
        {
            return View();
        }
    }
}